.page-knowledge-card {
  position: relative;
  padding: 15px;
  .triangle {
    position: absolute;
    top: 0;
    right: 0;
    border-style: solid;
    border-width: 24px;
    border-color: #375B97 #375B97 transparent transparent;
    width: 0px;
    height: 0px;
    .logo {
      position: absolute;
      top: -22px;
      width: 20px;
      height: 20px;
      img {
        width: 100%;
        height: 100%;
      }
    }
  }

  .word-title {
    max-height: 64px;
    line-height: 32px;
    font-size: 26px;
    color: #303133;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
  .have-data {
    .scroll-wrap {
      // max-height: calc(100%-120px);
      max-height: 350px;
      scrollbar-3dlight-color: #f6f6f6;
      scrollbar-highlight-color: #f6f6f6;
      scrollbar-face-color: #999;
      scrollbar-arrow-color: #999;
      scrollbar-shadow-color: #999;
      scrollbar-dark-shadow-color: #999;
      scrollbar-base-color: #f6f6f6;
      scrollbar-track-color: #f6f6f6;
      overflow: auto;
      &::-webkit-scrollbar {
        width: 4px;
        height: 4px;
        background: transparent;
      }
      &::-webkit-scrollbar-button {
        background-color: #999;
        display: none;
      }
      &::-webkit-scrollbar-track {
        background: #f6f6f6;
      }
      &::-webkit-scrollbar-track-piece {
        background: #f6f6f6;
      }
      &::-webkit-scrollbar-thumb {
        background: #999;
        border-radius: 10px;
      }
      &::-webkit-scrollbar-corner {
        background: #f6f6f6;
      }
      &::-webkit-resizer {
        background: #f6f6f6;
      }
    }
    .chinses-spell {
      margin: 3px 0 8px;
      font-size: 12px;
      color: #909399;
    }
    .english-spell {
      margin: 0 0 10px;
      font-size: 14px;
      .tip {
        display: inline-block;
        width: 20px;
        height: 20px;
        margin-right: 2px;
        line-height: 20px;
        color: #375B97;
        text-align: center;
        background-color: rgba(55, 91, 151, .1);
        border-radius: 2px;
      }
      .text {
        color: #303133;
        line-height: 22px;
        text-overflow:ellipsis;
        white-space: nowrap;
        overflow: hidden;
      }
    }
    .describe {
      font-size: 12px;
      margin-bottom: 10px;
      .content {
        color: #909399;
        line-height: 18px;
      }
      .close {
        max-height: 54px;
        word-break: break-all;
        overflow: hidden;
      }
      .on {
        height: auto;
      }
      .on-off {
        margin-top: 5px;
        color: #375B97;
        cursor: pointer;
        span {
          vertical-align: top;
        }
      }
    }
    .info-box {
      padding: 14px 0;
      border-top: 1px solid #E7EDF7;
      .li {
        font-size: 14px;
        line-height: 20px;
        &:not(:first-child) {
          margin-top: 5px;
        }
        .title {
          display: inline-block;
          margin-right: 18px;
          width: 42px;
          color: #909399;
        }
        .content {
          color: #303133;
        }
      }
    }
    .footer {
      position: fixed;
      bottom: 0;
      width: 100%;
      height: 54px;
      padding-top: 14px;
      text-align: right;
      color: #909399;
      font-size: 14px;
      background: #fff;
      box-sizing: border-box;
      border-top: 1px solid #E7EDF7;
      .edit-wrap {
        display: inline-block;
        margin-right: 30px;
        cursor: pointer;
      }
      img {
        margin-right: 4px;
        vertical-align: initial;
      }
      div {
        display: inline-block;
        vertical-align: super;
      }

    }
  }
  .no-data {
    .tips {
      margin-top: 14px;
      height: 36px;
      line-height: 36px;
      font-style: 14px;
      color: #909399;
    }
    .create-button {
      margin-top: 5px;
      width: 200px;
      height: 32px;
      line-height: 32px;
      text-align: center;
      color: #fff;
      font-style: 14px;
      background-color: #375B97;
      border-radius: 6px;
      cursor: pointer;
    }
  }
}
